package com.donglan.pethome.pay.mapper;

import com.donglan.pethome.pay.domain.AlipayInfo;

/**
 * @Author: zhangdonghui
 * @Date: 2022/3/2 21:06
 * 支付信息mapper
 */
public interface AlipayInfoMapper {
    /*
     * 功能描述 获取支付信息，根据店铺id
     * @author zhangdonghui
     * @date 2022/3/2 21:11
     * @param shopId 
     * @return com.donglan.pethome.pay.domain.AlipayInfo
     */
    AlipayInfo loadByShopId(Long shopId);

    /*
     * 功能描述 根据订单编号查询支付信息
     * @author zhangdonghui
     * @date 2022/3/5 11:48
     * @param out_trade_no 订单编号
     * @return com.donglan.pethome.pay.domain.AlipayInfo
     */
    AlipayInfo loadByOrderSn(String out_trade_no);
}
